package com.smile.model.request;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ToString
public class ControlRequest implements Serializable {

    /**
     * 上下方向的速度
     * {"max":5,"min":-4,"unit_name":"米每秒 / m/s"}
     */
    private Integer h;

    private Integer seq;
    /**
     * 机身角速度
     * {"max":90,"min":-90,"unit_name":"度每秒 / degree/s"}
     */
    private Integer w;
    /**
     * 前进后退方向的速度
     * {"max":17,"min":-17,"unit_name":"米每秒 / m/s"}
     */
    private Integer x;

    /**
     * 左右方向的速度
     * {"max":17,"min":-17,"unit_name":"米每秒 / m/s"}
     */
    private Integer y;

    private String gateway;
    /**
     * 区分方法
     */
    private String method;

    private BigDecimal latitude;

    private BigDecimal longitude;

    /**
     * 客户端Id
     */
    private String clientId;

    /**
     * 云台重置
     */
    private Integer resetMode;

    private String cameraType;

    private Double zoomFactor;


    private Boolean locked;
    private Double pitchSpeed;
    private Double yawSpeed;

//    private Integer videoType;
    private String videoType;

    private Float x1;
    private Float y1;
    private Float width;
    private Float height;

    /**
     * 相机模式
     */
    private Integer cameraMode;

    /**
     * 指令飞行过程中能达到的最大速度
     */
    private Integer maxSpeed;
}
